(function () {
    function greeter(person) {
        return "Hello, " + person;
    }
    var user = {
        name: '张三',
        age: 15,
        address: '成都'
    };
    document.body.innerHTML = greeter(user);
    var isDone = true;
    isDone = false;
    var array = [3, 1, 2];
    var arr = ['a', 'b', 'true'];
    var Direction;
    (function (Direction) {
        Direction[Direction["Up"] = 0] = "Up";
        Direction[Direction["Down"] = 1] = "Down";
        Direction[Direction["Left"] = 2] = "Left";
        Direction[Direction["Right"] = 3] = "Right";
    })(Direction || (Direction = {}));
    var direction = Direction.Up;
    var x = 3;
    // x = 'abc'
})();
